Package-level declarations

Types

Link copied to clipboard
@Serializable(with = AddressSerializer::class)
sealed interface Address

분리 형식 주소

Link copied to clipboard
@Serializable(with = BankSerializer::class)
sealed interface Bank

은행

Link copied to clipboard
@Serializable
data class BillingKeyPaymentInput(val storeId: String? = null, val billingKey: String, val channelKey: String? = null, val orderName: String, val customer: CustomerInput? = null, val customData: String? = null, val amount: PaymentAmountInput, val currency: Currency, val installmentMonth: Int? = null, val useFreeInterestFromMerchant: Boolean? = null, val useCardPoint: Boolean? = null, val cashReceipt: CashReceiptInput? = null, val country: Country? = null, val noticeUrls: List<String>? = null, val products: List<PaymentProduct>? = null, val productCount: Int? = null, val productType: PaymentProductType? = null, val shippingAddress: SeparatedAddressInput? = null, val promotionId: String? = null, val bypass: JsonObject? = null)

빌링키 결제 요청 입력 정보

Link copied to clipboard
@Serializable
data class Card(val publisher: String? = null, val issuer: String? = null, val brand: CardBrand? = null, val type: CardType? = null, val ownerType: CardOwnerType? = null, val bin: String? = null, val name: String? = null, val number: String? = null)

카드 상세 정보

Link copied to clipboard
@Serializable(with = CardBrandSerializer::class)
sealed interface CardBrand

카드 브랜드

Link copied to clipboard
@Serializable
data class CardCredential(val number: String, val expiryYear: String, val expiryMonth: String, val birthOrBusinessRegistrationNumber: String? = null, val passwordTwoDigits: String? = null)

카드 인증 관련 정보

Link copied to clipboard
@Serializable(with = CardOwnerTypeSerializer::class)
sealed interface CardOwnerType

카드 소유주 유형

Link copied to clipboard
@Serializable(with = CardTypeSerializer::class)
sealed interface CardType

카드 유형

Link copied to clipboard
@Serializable
data class CashReceiptInput(val type: CashReceiptInputType, val customerIdentityNumber: String? = null)

현금영수증 입력 정보

Link copied to clipboard
@Serializable(with = CashReceiptInputTypeSerializer::class)
sealed interface CashReceiptInputType

입력 시 발급 유형

Link copied to clipboard
@Serializable(with = CashReceiptTypeSerializer::class)
sealed interface CashReceiptType

발급 유형

Link copied to clipboard
@Serializable
data class ChannelGroupSummary(val id: String, val name: String, val isForTest: Boolean)

채널 그룹 정보

Link copied to clipboard
@Serializable(with = CountrySerializer::class)
sealed interface Country

국가

Link copied to clipboard
@Serializable(with = CurrencySerializer::class)
sealed interface Currency

통화 단위

Link copied to clipboard
@Serializable
data class Customer(val id: String? = null, val name: String? = null, val birthYear: String? = null, val gender: Gender? = null, val email: String? = null, val phoneNumber: String? = null, val address: Address? = null, val zipcode: String? = null)

고객 정보

Link copied to clipboard
@Serializable
data class CustomerInput(val id: String? = null, val name: CustomerNameInput? = null, val birthYear: String? = null, val birthMonth: String? = null, val birthDay: String? = null, val country: Country? = null, val gender: Gender? = null, val email: String? = null, val phoneNumber: String? = null, val address: SeparatedAddressInput? = null, val zipcode: String? = null, val businessRegistrationNumber: String? = null)

고객 정보 입력 정보

Link copied to clipboard
@Serializable
data class CustomerNameInput(val full: String? = null, val separated: CustomerSeparatedName? = null)

고객 이름 입력 정보

Link copied to clipboard
@Serializable
data class CustomerSeparatedName(val first: String, val last: String)

고객 분리형 이름

Link copied to clipboard
@Serializable
data class DateTimeRange(val from: @Serializable(with = InstantSerializer::class) Instant, val until: @Serializable(with = InstantSerializer::class) Instant)

시간 범위

Link copied to clipboard
@Serializable(with = EasyPayProviderSerializer::class)
sealed interface EasyPayProvider

간편 결제사

Link copied to clipboard
@Serializable(with = GenderSerializer::class)
sealed interface Gender

성별

Link copied to clipboard
@Serializable
@SerialName(value = "ONE_LINE")
data class OneLineAddress(val oneLine: String) : Address.Recognized

한 줄 형식 주소

Link copied to clipboard
@Serializable
data class PageInfo(val number: Int, val size: Int, val totalCount: Int)

반환된 페이지 결과 정보

Link copied to clipboard
@Serializable
data class PageInput(val number: Int? = null, val size: Int? = null)

다건 조회 API 에 사용되는 페이지 입력 정보

Link copied to clipboard
@Serializable
data class PaymentAmountInput(val total: Long, val taxFree: Long? = null, val vat: Long? = null)

금액 세부 입력 정보

Link copied to clipboard
@Serializable(with = PaymentClientTypeSerializer::class)
sealed interface PaymentClientType

결제가 발생한 클라이언트 환경

Link copied to clipboard
@Serializable(with = PaymentMethodTypeSerializer::class)
sealed interface PaymentMethodType
Link copied to clipboard
@Serializable
data class PaymentProduct(val id: String, val name: String, val tag: String? = null, val code: String? = null, val amount: Long, val quantity: Int)

상품 정보

Link copied to clipboard
@Serializable(with = PaymentProductTypeSerializer::class)
sealed interface PaymentProductType

상품 유형

Link copied to clipboard
@Serializable(with = PgProviderSerializer::class)
sealed interface PgProvider

PG사 결제 모듈

Link copied to clipboard
@Serializable(with = PortOneVersionSerializer::class)
sealed interface PortOneVersion

포트원 버전

Link copied to clipboard
@Serializable
data class SelectedChannel(val type: SelectedChannelType, val id: String? = null, val key: String? = null, val name: String? = null, val pgProvider: PgProvider, val pgMerchantId: String)

(결제, 본인인증 등에) 선택된 채널 정보

Link copied to clipboard
@Serializable(with = SelectedChannelTypeSerializer::class)
sealed interface SelectedChannelType

채널 타입

Link copied to clipboard
@Serializable
@SerialName(value = "SEPARATED")
data class SeparatedAddress(val oneLine: String, val addressLine1: String, val addressLine2: String, val city: String? = null, val province: String? = null, val country: Country? = null) : Address.Recognized

분리 형식 주소

Link copied to clipboard
@Serializable
data class SeparatedAddressInput(val addressLine1: String, val addressLine2: String, val city: String? = null, val province: String? = null, val country: Country? = null)

분리 형식 주소 입력 정보

Link copied to clipboard
@Serializable(with = SortOrderSerializer::class)
sealed interface SortOrder

정렬 방식